package main.entity;

import java.io.Serializable;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;

//import org.apache.commons.lang.builder.ToStringBuilder;

public class BaseVO implements Serializable {

/*	@Override
	public String toString() {
		Class<?> cls= this.getClass();
		StringBuffer strBf=new StringBuffer();
		Package pkg=cls.getPackage();
		strBf.append("\npackage: "+pkg);
		String clsName=cls.getName();
		strBf.append("\nclassName: "+clsName);
		Constructor<?>[]csnt=cls.getConstructors();
		strBf.append("\npublic constuctor: ");
		for (Constructor<?> constructor : csnt) {
			String mdf  = Modifier.toString(constructor.getModifiers());
			if (mdf.contains("public")) {
				strBf.append(constructor+"\t");
			}
		}
		Field[]flds=cls.getDeclaredFields();
		strBf.append("\npublic fields: ");
		for (Field field : flds) {
			String mdf=Modifier.toString(field.getModifiers());
			if (mdf.contains("public")) {
				strBf.append(field+"\t");
			}
		}
		Method[]mthds=cls.getDeclaredMethods();
		strBf.append("\npublic method: ");
		for (Method method : mthds) {
			String mdf=Modifier.toString(method.getModifiers());
			if (mdf.contains("public")) {
				strBf.append(method+"\t");
			}
		}
		return strBf.toString();
	}*/
	
    /**
	 * 
	 */
	private static final long serialVersionUID = 3622798912262554630L;

//	public String toString() {
//        return ToStringBuilder.reflectionToString(this);
//    }
	
}
